# 输入两个数，输出两个数之间的所有素数。

def is_prime(n):
    if n < 2:
        return False
    for i in range(2, int(n**0.5)+1):
        if n % i == 0:
            return False
    return True

def find_primes(start, end):
    primes = []
    for i in range(start, end+1):
        if is_prime(i):
            primes.append(i)
    return primes

start = int(input("Enter the start number: "))
end = int(input("Enter the end number: "))

primes = find_primes(start, end)

print("The primes between", start, "and", end, "are:", primes)